<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Order extends Model
{
    //一对多 关联 详情
    public function getorderlist()
    {
        return $this->hasMany('App\Model\Orderlist','oid','id');
    }
}
